package com.ivo.biz;

import org.springframework.stereotype.Repository;

import com.ivo.core.hibernate.ModelManager;

/**
 * 
 *
 * @author Minkey Wang
 * @version 2017年6月2日
 */
@Repository
public class PerformanceManager extends ModelManager<Performance>{
	public Performance getUser(String uid) {
		String hql = "select u from Performance u  where u.isValid=true and u.emp_id=?0 ";
		return findUnique(hql, uid);
	}
}
